﻿using NUnit.Framework;

namespace Dgg.LearnYourTools.NUnit.B_DataTesting.a_TestCase
{
	[TestFixture]
	public class _005_TestArguments
	{
		[TestCase(2), TestCase(4), TestCase(6), TestCase(8)]
		public void TestCase_WithOneArgument(int i)
		{
			Assert.AreEqual(0, i % 2);
		}

		[TestCase(1, "2")]
		[TestCase(2, "3")]
		[TestCase(3, "4")]
		public void TestCase_WithTwoArguments(int i, string s)
		{
			Assert.AreEqual(s, (++i).ToString());
		}
	}
}
